πŸ““ Artificial Intelligence/Introduction to AI/Week 3 - Introduction/Definitions/One-Hot_Encoding.md by @KGBicheno β˜†

one-hot encoding

Go back to the [[AI Glossary]]

A sparse vector in which:

One-hot encoding is commonly used to represent strings or identifiers that have a finite set of possible values. For example, suppose a given botany dataset chronicles 15,000 different species, each denoted with a unique string identifier. As part of feature engineering, you’ll probably encode those string identifiers as one-hot vectors in which the vector has a size of 15,000.